package com.sunshine.monitor.jvm;

public interface IJVMMemory{

	
//	Code Cache
//	Eden Space
//	Survivor Space
//	Tenured Gen
//	Perm Gen
//	Perm Gen [shared-ro]
//	Perm Gen [shared-rw]
	
	public long getMemoryUsed();
	public long getMemoryMax();
	
	public long getEdenUsed();
	public long getEdenMax();

	public long getSurvivorUsed();
	public long getSurvivorMax();
	
	
	public long getOldUsed();
	public long getOldMax();
	
	public long getPermUsed();
	public long getPermMax();
	
	
	public long getHeapUsed();
	public long getHeapMax();
	
	

}
